﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="extra-content.ascx.cs" Inherits="extra_content" %>
<section id="extra-content">
        <div class="wrapper">
          <aside class="left">
            <div class="box">
              
             <asp:Repeater ID="Repeater1" runat="server" onitemcommand="Repeater1_ItemCommand">
              <HeaderTemplate>
                     <h4>Hãng sản xuất</h4>
                     <div class="block poll-block">                 
                        <fieldset>
                        <ul class="left_menu">
                </HeaderTemplate>
        
                <ItemTemplate>
                     <li class="odd"><a href="computer.aspx?man=<%#Eval("mahangsx") %>"><%# Eval("tenhang") %></a></li>
                </ItemTemplate>
        
                <AlternatingItemTemplate>
                    <li class="even"><a href="computer.aspx?man=<%#Eval("mahangsx") %>"><%# Eval("tenhang") %></a></li>
                </AlternatingItemTemplate>
        
                <FooterTemplate>
                     </ul> 
                     </fieldset>
                     
                     </div>
                </FooterTemplate>
            </asp:Repeater>
            </div>
          </aside>

          <div class="content"><a href="#"><img src="images/baner2.jpg" width="535px" height="224px" alt=""></a></div>
          <aside class="left">
            <div class="box">
                <h4>Đăng nhập:</h4>
              <div class="inner">               
                 <fieldset>
                <asp:Panel ID="Panel_dangnhap" runat="server">
                    <p class="field"><asp:TextBox ID="tenkh" runat="server" 
                            ontextchanged="tenkh_TextChanged">Tên đăng nhập</asp:TextBox></p>                 
                    <p class="field"><asp:TextBox ID="matkhau" TextMode="Password" runat="server">Mật khẩu</asp:TextBox></p>
                    <asp:Button ID="Button1" runat="server" CssClass="submit" Text="Login" />
                
                    <asp:Label ID="loi" runat="server" ForeColor="Red" Text="Loi" Visible="False"></asp:Label>                 
                </asp:Panel>
                <asp:Panel ID="Panel_dangxuat" runat="server" Visible="False">
             
                    <strong>xin chào:</strong>
                    <strong>
                    <asp:Label ID="lb_tenkhachhang" runat="server" Text="tên KH"></asp:Label>
                    </strong>
                    <asp:Button ID="Button2" runat="server" CssClass="submit" Text="Logout" />
                </asp:Panel>
                </fieldset>
              
                </div>
            </div>
            <div class="box">
              <h4>Giỏ hàng</h4>
              <div class="block myCart">
                You have <asp:Label ID="itemCount" runat="server" Text=""></asp:Label>
                  &nbsp;items in your
                  <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/cart.aspx">shopping cart</asp:HyperLink>
                  .</div>
            </div>     
          </aside>
        </div>
      </section>